3.192 \(\int (d x^q)^m (a+b \log (c x^n))^p \, dx\)

Optimal. Leaf size=114 \[ \frac {x \left (d x^q\right )^m e^{-\frac {a m q+a}{b n}} \left (c x^n\right )^{-\frac {m q+1}{n}} \left (a+b \log \left (c x^n\right )\right )^p \left (-\frac {(m q+1) \left (a+b \log \left (c x^n\right )\right )}{b n}\right )^{-p} \Gamma \left (p+1,-\frac {(m q+1) \left (a+b \log \left (c x^n\right )\right )}{b n}\right )}{m q+1} \]

[Out]

x*(d*x^q)^m*GAMMA(1+p,-(m*q+1)*(a+b*ln(c*x^n))/b/n)*(a+b*ln(c*x^n))^p/exp((a*m*q+a)/b/n)/(m*q+1)/((c*x^n)^((m*
q+1)/n))/((-(m*q+1)*(a+b*ln(c*x^n))/b/n)^p)

________________________________________________________________________________________

Rubi [A]  time = 0.11, antiderivative size = 114, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.150, Rules used = {15, 2310, 2181} \[ \frac {x \left (d x^q\right )^m e^{-\frac {a m q+a}{b n}} \left (c x^n\right )^{-\frac {m q+1}{n}} \left (a+b \log \left (c x^n\right )\right )^p \left (-\frac {(m q+1) \left (a+b \log \left (c x^n\right )\right )}{b n}\right )^{-p} \text {Gamma}\left (p+1,-\frac {(m q+1) \left (a+b \log \left (c x^n\right )\right )}{b n}\right )}{m q+1} \]

Antiderivative was successfully verified.

[In]

Int[(d*x^q)^m*(a + b*Log[c*x^n])^p,x]

[Out]

(x*(d*x^q)^m*Gamma[1 + p, -(((1 + m*q)*(a + b*Log[c*x^n]))/(b*n))]*(a + b*Log[c*x^n])^p)/(E^((a + a*m*q)/(b*n)
)*(1 + m*q)*(c*x^n)^((1 + m*q)/n)*(-(((1 + m*q)*(a + b*Log[c*x^n]))/(b*n)))^p)

Rule 15

Int[(u_.)*((a_.)*(x_)^(n_))^(m_), x_Symbol] :> Dist[(a^IntPart[m]*(a*x^n)^FracPart[m])/x^(n*FracPart[m]), Int[
u*x^(m*n), x], x] /; FreeQ[{a, m, n}, x] &&  !IntegerQ[m]

Rule 2181

Int[(F_)^((g_.)*((e_.) + (f_.)*(x_)))*((c_.) + (d_.)*(x_))^(m_), x_Symbol] :> -Simp[(F^(g*(e - (c*f)/d))*(c +
d*x)^FracPart[m]*Gamma[m + 1, (-((f*g*Log[F])/d))*(c + d*x)])/(d*(-((f*g*Log[F])/d))^(IntPart[m] + 1)*(-((f*g*
Log[F]*(c + d*x))/d))^FracPart[m]), x] /; FreeQ[{F, c, d, e, f, g, m}, x] &&  !IntegerQ[m]

Rule 2310

Int[((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))^(p_)*((d_.)*(x_))^(m_.), x_Symbol] :> Dist[(d*x)^(m + 1)/(d*n*(c*x^n
)^((m + 1)/n)), Subst[Int[E^(((m + 1)*x)/n)*(a + b*x)^p, x], x, Log[c*x^n]], x] /; FreeQ[{a, b, c, d, m, n, p}
, x]

Rubi steps

\begin {align*} \int \left (d x^q\right )^m \left (a+b \log \left (c x^n\right )\right )^p \, dx &=\left (x^{-m q} \left (d x^q\right )^m\right ) \int x^{m q} \left (a+b \log \left (c x^n\right )\right )^p \, dx\\ &=\frac {\left (x \left (c x^n\right )^{-\frac {1+m q}{n}} \left (d x^q\right )^m\right ) \operatorname {Subst}\left (\int e^{\frac {(1+m q) x}{n}} (a+b x)^p \, dx,x,\log \left (c x^n\right )\right )}{n}\\ &=\frac {e^{-\frac {a+a m q}{b n}} x \left (c x^n\right )^{-\frac {1+m q}{n}} \left (d x^q\right )^m \Gamma \left (1+p,-\frac {(1+m q) \left (a+b \log \left (c x^n\right )\right )}{b n}\right ) \left (a+b \log \left (c x^n\right )\right )^p \left (-\frac {(1+m q) \left (a+b \log \left (c x^n\right )\right )}{b n}\right )^{-p}}{1+m q}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.23, size = 118, normalized size = 1.04 \[ \frac {x^{-m q} \left (d x^q\right )^m \left (a+b \log \left (c x^n\right )\right )^p \exp \left (-\frac {(m q+1) \left (a+b \log \left (c x^n\right )-b n \log (x)\right )}{b n}\right ) \left (-\frac {(m q+1) \left (a+b \log \left (c x^n\right )\right )}{b n}\right )^{-p} \Gamma \left (p+1,-\frac {(m q+1) \left (a+b \log \left (c x^n\right )\right )}{b n}\right )}{m q+1} \]

Antiderivative was successfully verified.

[In]

Integrate[(d*x^q)^m*(a + b*Log[c*x^n])^p,x]

[Out]

((d*x^q)^m*Gamma[1 + p, -(((1 + m*q)*(a + b*Log[c*x^n]))/(b*n))]*(a + b*Log[c*x^n])^p)/(E^(((1 + m*q)*(a - b*n
*Log[x] + b*Log[c*x^n]))/(b*n))*(1 + m*q)*x^(m*q)*(-(((1 + m*q)*(a + b*Log[c*x^n]))/(b*n)))^p)

________________________________________________________________________________________

fricas [F]  time = 0.43, size = 0, normalized size = 0.00 \[ {\rm integral}\left (\left (d x^{q}\right )^{m} {\left (b \log \left (c x^{n}\right ) + a\right )}^{p}, x\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((d*x^q)^m*(a+b*log(c*x^n))^p,x, algorithm="fricas")

[Out]

integral((d*x^q)^m*(b*log(c*x^n) + a)^p, x)

________________________________________________________________________________________

giac [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \left (d x^{q}\right )^{m} {\left (b \log \left (c x^{n}\right ) + a\right )}^{p}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((d*x^q)^m*(a+b*log(c*x^n))^p,x, algorithm="giac")

[Out]

integrate((d*x^q)^m*(b*log(c*x^n) + a)^p, x)

________________________________________________________________________________________

maple [F]  time = 2.13, size = 0, normalized size = 0.00 \[ \int \left (d \,x^{q}\right )^{m} \left (b \ln \left (c \,x^{n}\right )+a \right )^{p}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((d*x^q)^m*(b*ln(c*x^n)+a)^p,x)

[Out]

int((d*x^q)^m*(b*ln(c*x^n)+a)^p,x)

________________________________________________________________________________________

maxima [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \left (d x^{q}\right )^{m} {\left (b \log \left (c x^{n}\right ) + a\right )}^{p}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((d*x^q)^m*(a+b*log(c*x^n))^p,x, algorithm="maxima")

[Out]

integrate((d*x^q)^m*(b*log(c*x^n) + a)^p, x)

________________________________________________________________________________________

mupad [F]  time = 0.00, size = -1, normalized size = -0.01 \[ \int {\left (d\,x^q\right )}^m\,{\left (a+b\,\ln \left (c\,x^n\right )\right )}^p \,d x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((d*x^q)^m*(a + b*log(c*x^n))^p,x)

[Out]

int((d*x^q)^m*(a + b*log(c*x^n))^p, x)

________________________________________________________________________________________

sympy [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \left (d x^{q}\right )^{m} \left (a + b \log {\left (c x^{n} \right )}\right )^{p}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((d*x**q)**m*(a+b*ln(c*x**n))**p,x)

[Out]

Integral((d*x**q)**m*(a + b*log(c*x**n))**p, x)

________________________________________________________________________________________